#ifndef HOVERTOOLBUTTON_H
#define HOVERTOOLBUTTON_H

#include <QToolButton>

namespace Jcr
{

class HoverToolButton : public QToolButton
{
    Q_OBJECT
public:
    explicit HoverToolButton(QWidget *parent = 0);

signals:
    void hover(bool hover);

protected:
    virtual void enterEvent(QEvent* e);
    virtual void leaveEvent(QEvent* e);
};

} // namespace
#endif // HOVERTOOLBUTTON_H
